package com.example.entity.xml;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.List;

@Data
@JacksonXmlRootElement
public class Conversations {

    @JacksonXmlProperty(isAttribute = true,localName = "xsi:noNamespaceSchemaLocation")
    private String location = "combi-conversations_v1.2.xsd";
    @JacksonXmlProperty(isAttribute = true, localName = "xmlns:xsi")
    private String xmlns = "http://www.w3.org/2001/XMLSchema-instance";

    @JacksonXmlElementWrapper(useWrapping = false)
    private List<Conversation> conversation;

}
